﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainMasterPage.master" AutoEventWireup="true"
    CodeFile="EditNews.aspx.cs" Inherits="Modeling_Sub_Pages_NewsPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <style type="text/css">
        #main
        {
            min-width: 1000px;
        }
        #center1
        {
            width: 1000px;
            min-height: 500px;
            padding-top: 15px;
            margin-right: auto;
            margin-left: auto;
        }
        #center
        {
            width: 700px;
        }
        .toCenter
        {
            margin-left: auto;
            margin-right: auto;
        }
        .readMore
        {
            text-decoration: none;
            color: #3B7ABE;
            font-style: italic;
        }
        .readMore:hover
        {
            text-decoration: underline;
            color: #0066FF;
        }
        .readMore:visited
        {
            text-decoration: none;
            color: #3B7ABE;
            font-style: italic;
        }
        .textCenter
        {
            text-align: center;
        }
        .style1
        {
            height: 23px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Content" runat="Server">
    <div id="center1">
        <div id="left">
            <table>
                <tr>
                    <td>
                        <asp:HyperLink ID="HyperLink4" runat="server" NavigateUrl="~/Staff/AdmissionManager.aspx"
                            CssClass="LinkStyle1">Admission Managerment</asp:HyperLink>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:HyperLink ID="HyperLink6" runat="server" NavigateUrl="~/Staff/StudentManagerment.aspx"
                            CssClass="LinkStyle1">Student Managerment</asp:HyperLink>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:HyperLink ID="HyperLink5" runat="server" NavigateUrl="~/Staff/ScoresManagerment.aspx"
                            CssClass="LinkStyle1">Scores Managerment</asp:HyperLink>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Staff/EventManagerment.aspx"
                            CssClass="LinkStyle1">Events Managerment</asp:HyperLink>
                    </td>
                </tr>
                <tr>
                    <td id="activeTD">
                        <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl="~/Staff/NewsManagerment.aspx"
                            CssClass="activeLink">News Managerment</asp:HyperLink>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:HyperLink ID="HyperLink3" runat="server" NavigateUrl="~/Staff/CoursesManagerment.aspx"
                            CssClass="LinkStyle1">Course Managerment</asp:HyperLink>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:HyperLink ID="HyperLink7" runat="server" NavigateUrl="~/Staff/CoursesRegisManager.aspx"
                            CssClass="LinkStyle1">Course Regis Manager...</asp:HyperLink>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:HyperLink ID="HyperLink9" runat="server" NavigateUrl="~/Staff/FeedbackManager.aspx"
                            CssClass="LinkStyle1">Feedback Managerment</asp:HyperLink>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:HyperLink ID="HyperLink8" runat="server" NavigateUrl="~/Staff/ChangePassword.aspx"
                            CssClass="LinkStyle1">Change Password</asp:HyperLink>
                    </td>
                </tr>
            </table>
        </div>
        <div id="center">
            <table class="toCenter">
                <tr>
                    <td colspan="2" align="center">
                        <asp:Label ID="lblTitle" runat="server" Text="Edit News" Font-Size="20pt" ForeColor="#990033"></asp:Label>
                        <br />
                        <br />
                    </td>
                </tr>
                <tr>
                    <td width="120">
                        <strong>Title: </strong>
                    </td>
                    <td>
                        <asp:TextBox ID="txtTitle" runat="server" Width="250"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td>
                        &nbsp;
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Please input title!"
                            ControlToValidate="txtTitle" ValidationGroup="checkVa"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        <strong>Description: </strong>
                    </td>
                    <td>
                        <asp:TextBox ID="txtDescription" runat="server" Width="350"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style1">
                    </td>
                    <td class="style1">
                        &nbsp;
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="Please input description!"
                            ControlToValidate="txtDescription" ValidationGroup="checkVa"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        <strong>Content: </strong>
                    </td>
                    <td>
                        <asp:TextBox ID="txtContent" runat="server" Width="400" Rows="15" TextMode="MultiLine"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td>
                        &nbsp;
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ErrorMessage="Please input content!"
                            ControlToValidate="txtContent" ValidationGroup="checkVa"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        <strong>Image: </strong>
                    </td>
                    <td>
                        <asp:FileUpload ID="fuImage" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td>
                        <asp:Button ID="btnSend" runat="server" Text="Send" ValidationGroup="checkVa" OnClick="btnSend_Click" />
                        <asp:Button ID="btnReset" runat="server" Text="Reset" OnClick="btnReset_Click" />
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                    </td>
                    <td>
                    </td>
                </tr>
            </table>
        </div>
    </div>
</asp:Content>
